package com.kwt.learn.extend;


public class FatherClass {
    private static String filed = "2";
    private String test = "1";

    public static String getFiled() {
        return filed;
    }

    public static void setFiled(String filed) {
        FatherClass.filed = filed;
    }

    public String getTest() {
        return test;
    }

    public void setTest(String test) {
        this.test = test;
    }

    private void print() {
        System.out.println("nihao");
    }

    public void dayin() {
        print();
    }
}
